$OpenBSD: patch-src_perl_Makefile_in,v 1.10 2017/06/07 21:57:46 sthen Exp $
--- src/perl/Makefile.in.orig	Tue Jun  6 19:12:14 2017
+++ src/perl/Makefile.in	Tue Jun  6 23:19:02 2017
@@ -389,7 +389,7 @@ AM_CPPFLAGS = \
 	-I$(top_srcdir)/src/core \
 	-I$(top_srcdir)/src/fe-common/core \
 	$(GLIB_CFLAGS) \
-	-DSCRIPTDIR=\""$(datadir)/irssi/scripts"\" \
+	-DSCRIPTDIR=\""$(sysconfdir)/irssi/scripts"\" \
 	-DPERL_USE_LIB=\""$(PERL_USE_LIB)"\" \
 	-DPERL_STATIC_LIBS=$(PERL_STATIC_LIBS) \
 	$(PERL_CFLAGS)
